Keyword

Change the Item Image Settings ... is it possible ?? {SOLVED}

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91163 by Pietro Sferrino
I Guys !!I am new in K2 ... But it seems to be great ... Thank You ... ^_^Please ...I'd like to use the default item image in onother position, and not in the center ...I'd like to put image on the left, for instance (or on the right) having my text arount it ...Is it possibile, or I have to use a image inside the article ??Many thanks.Pietro

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #91164 by alfons scholing
Only through the CSS float left -> float right!

Please Log in or Create an account to join the conversation.

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91165 by Pietro Sferrino
Ok ... Thank You Alfons but ...
Which CSS ??
The Template css or what ??
And ... what to write ... in order to make the text around the image ... ??
... Thank You !!
... Pietro

alfons scholing said:Only through the CSS float left -> float right!

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #91166 by alfons scholing
K2 css

and it will become something like this...



.itemImageBlock{
float: right;
clear: both;
padding: 0em;
margin: 1em;
}



Pietro Sferrino said:Ok ... Thank You Alfons but ... Which CSS ??
The Template css or what ??
And ... what to write ... in order to make the text around the image ... ??
... Thank You !!
... Pietro

alfons scholing said:Only through the CSS float left -> float right!

Please Log in or Create an account to join the conversation.

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91167 by Pietro Sferrino
Hi Alfons !! Thank Yoy ^_^
But ... it doesn't work ...
I've even added !important ... like this:

div.itemImageBlock{float: right !important; clear: both; padding: 0em; margin: 1em;}

Cache is clean ... Strange !! :(

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #91168 by alfons scholing
Where did i say that u needed to put div in front of a CLASS

Thats why it doesnt work!

.catItemImageBlock, .itemImageBlock {
background: url(../images/bg_wrapper_list.png) repeat center center;
width: auto;
clear: left;
float: left;
padding: 0em;
border: none;
margin-top: 0em;
margin-right: 0em;
margin-bottom: 1em;
margin-left: 0em;
}




Pietro Sferrino said:Hi Alfons !! Thank Yoy ^_^ But ... it doesn't work ...
I've even added !important ... like this:

div.itemImageBlock{float: right !important; clear: both; padding: 0em; margin: 1em;}

Cache is clean ... Strange !! :(

Please Log in or Create an account to join the conversation.

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91169 by Pietro Sferrino
Ops ...
Well ... You Right ...
But ... I wrote div, becouse nothing happened with no div by the way ... :(

And I do not understand why you wrote about background ... I need to move the itme-image ... :(
But nothing change yet ... unfortunatly ...



alfons scholing said:Where did i say that u needed to put div in front of a CLASS
Thats why it doesnt work!

.catItemImageBlock, .itemImageBlock {
background: url(../images/bg_wrapper_list.png) repeat center center;
width: auto;
clear: left;
float: left;
padding: 0em;
border: none;
margin-top: 0em;
margin-right: 0em;
margin-bottom: 1em;
margin-left: 0em;
}




Pietro Sferrino said:Hi Alfons !! Thank Yoy ^_^ But ... it doesn't work ... I've even added !important ... like this:

div.itemImageBlock{float: right !important; clear: both; padding: 0em; margin: 1em;}

Cache is clean ... Strange !! :(

Please Log in or Create an account to join the conversation.

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91170 by Pietro Sferrino
FINALLY ...

I DID IT !!

... But I changed the template.css ... not the k2 ...
Any change in the k2 css, as I told before ... was not usefull ...

I just add the code

.userItemImageBlock, .itemImageBlock {
float: right !important;
margin: 0 0 16px;
padding: 0;
}

Bye ^_^ ^_^

Please Log in or Create an account to join the conversation.

More
13 years 9 months ago #91171 by Ajay das
Thanks to Pietro. really it work but i edit in k2 css file

Please Log in or Create an account to join the conversation.

  • Pietro Sferrino
  • Pietro Sferrino's Avatar Topic Author
  • Offline
  • Senior Member
More
13 years 9 months ago #91172 by Pietro Sferrino
^_^
You are very wellcome !! ^_^

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum